############################
#####   Siena Events   #####
#####  by Isaac Brock  #####
### Corrected by Chimera ###
############################

event = {
	id = 17345
	trigger = { exists = PAP 
			NOT = { exists = U17
				war   = { country = PIS country = PAP } 
		    } 
	}
	random = no
	country = PIS
	name = "EVENTNAME17345"
	desc = "EVENTHIST17345"
	style = 1
	date = { day = 1 month = january year = 1458 }
	offset = 90
	deathdate = { day = 1 month = january year = 1460 }

	action_a ={
		name = "ACTIONNAME5251A"
		command = { type = stability value = 2 }
		command = { type = DIP which = 2 value = 60 }
		command = { type = trigger which = 17346 } #PAP election of Pius II
		command = { type = domestic which = aristocracy value = 1 }
                }
}

event = {
	id = 17347
	trigger = { event = 17346 } #election Pius II PAP
	random = no
	country = PIS
	name = "EVENTNAME17347"
	desc = "EVENTNAME17347"
	style = 1
	date = { day = 1 month = january year = 1458 }
	offset = 90
	deathdate = { day = 1 month = january year = 1460 }

	action_a ={
		name = "ACTIONNAME5251A"
		command = { type = breakvassal which = PAP }
		command = { type = stability value = 2 } #they need this because they are losing stab from breaking the vassalage
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = domestic which = mercantilism value = -1 }#merchants back in control
		}
}

event = {
	id = 17348
	random = no
	country = PIS
	name = "EVENTNAME17348"
	desc = "EVENTHIST17348"
	style = 1
	date = { day = 1 month = june year = 1482 }
	offset = 10
	deathdate = { day = 1 month = august year = 1482 }

	action_a ={
		name = "ACTIONNAME5251A"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 8 value = 8 }
		command = { type = revolt which = -2 }
		}
}

event = {
	id = 17349
	random = no
	country = PIS
	name = "EVENTNAME17349"
	desc = "EVENTHIST17349"
	style = 1
	date = { day = 21 month = july year = 1487 }
	action_a ={
		name = "ACTIONNAME17349A"
		command = { type = gainbuilding which = -2 value = bailiff  }
		command = { type = stability value = 1 }
		command = { type = infra value = 200 }
		command = { type = domestic which = centralization  value = 2 }#reduce power of factions
		command = { type = domestic which =  innovative value = -1 }#repressive
		command = { type = domestic which =  serfdom value = 1 }
		command = { type = provincetax which = -2 value = 1 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = TOS value = 100 }
		command = { type = sleepmonarch which = 05090 } #repubblica
		}
	action_b ={
		name = "ACTIONNAME17349B"
		command = { type = sleepmonarch which = 05091 }
		command = { type = sleepmonarch which = 05092 }
		command = { type = sleepmonarch which = 05093 }
		command = { type = sleepmonarch which = 05094 }
		command = { type = sleepmonarch which = 05095 }
		command = { type = sleepmonarch which = 05096 }
		command = { type = sleepmonarch which = 05097 }
		command = { type = sleepevent which = 17350 } #fall of the Petrucci
		command = { type = sleepevent which = 17353 } #fall of the Petrucci
		command = { type = stability value = -2 }#they were in trouble
		command = { type = infra value = 200 }
		command = { type = domestic which = centralization  value = -1 }#more factionalism
		command = { type = domestic which =  mercantilism value = -1 }#small merchants more powerful
		command = { type = relation which = NAP value = 100 }#the opposite of Franco-Florentine
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = ARG value = 100 }
		}
          }

event = {
	id = 17350
	trigger = { event = 17349 #Pandolfo Petrucci
		exists = SPA
		NOT = {war   = { country = PIS country = SPA }}
}
	random = no
	country = PIS
	name = "EVENTNAME17350"
	desc = "EVENTHIST17350"
	style = 2
	date = { day = 1 month = december year = 1524 }
	deathdate = { day = 1 month = december year = 1526 }
	action_a ={
		name = "ACTIONNAME17350A"
		command = { type = dynastic which = SPA }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = PAP value = -50 }
		command = { type = inflation value = -5 }#well seems like it would help get the finances in order
		command = { type = stability value = 2 }
		command = { type = trigger which = 17351 } #SPA Sienese request (SPA)
		}
	action_b ={
		name = "ACTIONNAME17350B"
		command = { type = sleepmonarch which = 05098 }
		command = { type = wakemonarch which = 05099 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -2 }#disorders
		command = { type = infra value = -100 }
		command = { type = revolt which = -2 }
		command = { type = domestic which = centralization  value = -2 }#more factionalism
		command = { type = trigger which = 17352 } #Sienese Defiance (PAP)
		}
}

event = {
	id = 17353
	trigger = { event = 17349 #Pandolfo Petrucci
		NOT = {war   = { country = PIS country = HAB }}
		NOT = {exists = SPA}
		NOT = {event = 17350} #Fall of the Petrucci
		exists = HAB
		}
	random = no
	country = PIS
	name = "EVENTNAME17350"
	desc = "EVENTHIST17350"
	style = 2
	date = { day = 1 month = december year = 1524 }
	deathdate = { day = 1 month = december year = 1526 }
	action_a ={
		name = "ACTIONNAME17353A"
		command = { type = dynastic which = HAB }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = PAP value = -50 }
		command = { type = inflation value = -5 }#well seems like it would help get the finances in order
		command = { type = stability value = 2 }
		command = { type = trigger which = 17354 } #Sienese requst HAB
		}
	action_b ={
                name = "ACTIONNAME17353B"
		command = { type = sleepmonarch which = 05098 }
		command = { type = wakemonarch which = 05099 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -2 }#disorders
		command = { type = infra value = -100 }
		command = { type = revolt which = -2 }
		command = { type = domestic which = centralization  value = -2 }#more factionalism
		command = { type = trigger which = 17352 } #Sienese Defiance PAP
		}
}

event = {
	id = 17355
	trigger = { event = 17351 #SPA Vassalizes PIS
		NOT = {war = { country = PIS country = SPA }}
		vassal = { country = SPA country = PIS }
		NOT = {event = 17354}#HAB Vassalizes PIS
		exists = SPA
		}
	random = no
	country = PIS
	name = "EVENTNAME17355" #with apologies to Crayola#
	desc = "EVENTHIST17355"
	style = 2
	date = { day = 28 month = july year = 1552 }
	deathdate = { day = 1 month = december year = 1552 }
	action_a ={
                name = "ACTIONNAME17355A"
		command = { type = breakvassal which = SPA }
		command = { type = manpower value = 10 }
		command = { type = cash value = 50 }
		command = { type = diplomats value = 2 }
		command = { type = INF which = -2 value = 6000 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = TOS value = -100 }
		command = { type = relation which = HAB value = -200 }
		command = { type = trigger which = 17356 } #SPA revolt in SIena
		}
	action_b ={
		name = "ACTIONNAME17355B"
		command = { type = sleepmonarch which = 05098 }
		command = { type = wakemonarch which = 05099 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = SPA value = 300 }#should allow them to annex
		command = { type = relation which = HAB value = 100 }
		command = { type = stability value = -3}
		command = { type = revolt which = -2}
		command = { type = fortress which = -2 value = 1 }
       		}
}


event = {
	id = 17358
	trigger = { event = 17354#HAB Vassalizes PIS
		NOT = {war = { country = PIS country = HAB }}
		vassal = { country = HAB country = PIS }
		NOT = {exists = SPA}
		NOT = {event = 17351}#SPA vassalized PIS
		exists = HAB
		}
	random = no
	country = PIS
	name = "EVENTNAME17355" #with apologies to Crayola#
	desc = "EVENTHIST17358"
	style = 2
	date = { day = 28 month = july year = 1552 }
	deathdate = { day = 1 month = december year = 1552 }
	action_a ={
                name = "ACTIONNAME17355A"
		command = { type = breakvassal which = HAB }
		command = { type = manpower value = 10 }
		command = { type = cash value = 50 }
		command = { type = diplomats value = 2 }
		command = { type = INF which = -2 value = 6000 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = TOS value = -100 }
		command = { type = trigger which = 17359 } #HAB Revolt in SIena
		}
	action_b ={
		name = "ACTIONNAME17355B"
		command = { type = sleepmonarch which = 05098 }
		command = { type = wakemonarch which = 05099 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = HAB value = 300 }#should allow them to annex
		command = { type = stability value = -3}
		command = { type = revolt which = -2}
		command = { type = fortress which = -2 value = 1 }
       		}
}
